<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>商家详情</title>
    <script src="__INDEX__/js/mui.min.js"></script>
    <link href="__INDEX__/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
    <link rel="stylesheet" href="__INDEX__/css/style.css" />
    <link rel="stylesheet" href="__INDEX__/css/yund.css" />
    <script type="text/javascript" src="__INDEX__/dist/jquery.min.js" ></script>
</head>

<body>
	<header class="mui-bar mui-bar-nav">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="JavaScript:history.go(-1)"></a>
	    <h1 class="mui-title">{$agent_info.agent_name|default='无'}</h1>
	</header>
	<div class="mui-content mp_content">
		<div class="shopmp_top">
			<div class="shopmp_img"><img src="{$agent_info.logo|default='__INDEX__/bg.png'}"></div>
			<div class="mingpian">{$agent_info.agent_name|default='无'}</div>
		</div>
		<div class="biaodan">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell">
					<span class="iconfont icon-msnui-caller"></span>
					<span class="item">{$agent_info.mobile|default='无'}</span>
				</li>
				<li class="mui-table-view-cell">
					<span class="iconfont icon-weibiaoti2fuzhi08"></span>
					<span class="item">
						{$agent_info['province_name']}
						{$agent_info['city_name']}
						{$agent_info['town_name']}
						{$agent_info['country_name']}
						{$agent_info['address']}
					</span>
				</li>					
			</ul>
		</div>
		<div class="mp_bt"><em class="line"></em><em>店铺商品</em></div>
		<ul class="sy_tuijlist clearfix xhgoods">
			{volist name='goods_list' id='vo' empty="没有数据"}
			<li>
				<a href="{:url('index/shop/show',['goods_id'=>$vo.goods_id])}" empty="该商家未上传商品">
					<div class="sy_tjimg"><img src="{$vo.logo|default='__INDEX__/bg.png'}"></div>
					<div class="sy_tjinfo">
						<div class="sy_tjnam">{$vo.goods_name}</div>							
						<div class="list_pribox clearfix">							
							<span class="list_pri">¥<em>{$vo.cost_price}</em></span>
						</div>
						<div class="shopinf_benbox clearfix">
							<span style="color: #999999;">销量：{$vo.sales}</span>
							<span class="list_pribtn">立即购买</span>
						</div>
					</div>
				</a>
			</li>
			{/volist}
		</ul>
		
	</div>
</body>
</html>